/**
 * DataNotFoundException.java 
 * Copyright © 2015-3015, 杭州泊享网络科技有限公司
 * 
 * @author Liu Tao
 * @create 2015年5月4日
 */
package com.pshare.framework.exception;

import com.pshare.enums.CodeMsg;

/**
 * 数据不存在异常
 */
public class DataNotFoundException extends SeaxRuntimeException {

	private static final long serialVersionUID = -9117624927832317117L;
	private final static Integer code = CodeMsg.DATA_NOT_FOUND.getCode();

	public DataNotFoundException() {
		super();
	}

	public DataNotFoundException(String message) {
		super(message);
	}

	public DataNotFoundException(Throwable cause) {
		super(cause);
	}

	public DataNotFoundException(String message, Throwable cause) {
		super(message, cause);
	}
	
	public Integer getCode() {
		return code;
	}
	
}
